package com.fsnbigdata.repository;

import com.fsnbigdata.domain.AnimalConservation;
import com.fsnbigdata.domain.AnimalConservationImage;
import io.springlets.data.domain.GlobalSearch;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.roo.addon.layers.repository.jpa.annotations.RooJpaRepositoryCustom;

/**
 * Created by zq on 2019/4/20.
 */
@RooJpaRepositoryCustom(entity = AnimalConservationImage.class)
public interface AnimalConservationImageRepositoryCustom {


    public abstract Page<AnimalConservationImage> findByAnimalConservation(AnimalConservation animalConservation, GlobalSearch globalSearch, Pageable pageable);
}
